Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On mac, easier install of data.table with OpenMP #6497

Open
wants to merge 1 commit into
base: news1
Choose a base branch
from

Conversation

gurbuxanink
Copy link

On mac, data.table installation is now much simpler than described in wiki. For MacPorts users, a simple command "sudo port install r-data.table +openmp" will work. There is no need to use Makevars file.

On mac, data.table installation is now much simpler than described in wiki.  For MacPorts users, a simple command "sudo port install r-data.table +openmp" will work.  There is no need to use Makevars file.
@@ -31,7 +31,7 @@
if (!.Call(ChasOpenMP)) {
packageStartupMessagef("**********\nThis installation of data.table has not detected OpenMP support. It should still work but in single-threaded mode.\n", appendLF=FALSE)
if (Sys.info()["sysname"] == "Darwin")
packageStartupMessagef("This is a Mac. Please read https://mac.r-project.org/openmp/. Please engage with Apple and ask them for support. Check r-datatable.com for updates, and our Mac instructions here: https://github.com/Rdatatable/data.table/wiki/Installation. After several years of many reports of installation problems on Mac, it's time to gingerly point out that there have been no similar problems on Windows or Linux.\n**********")
packageStartupMessagef("This is a Mac. Please read https://mac.r-project.org/openmp/. If you are a MacPorts users, reinstall data.table with openmp option: "sudo port install r-data.table +openmp". Please engage with Apple and ask them for support. Check r-datatable.com for updates, and our Mac instructions here: https://github.com/Rdatatable/data.table/wiki/Installation. After several years of many reports of installation problems on Mac, it's time to gingerly point out that there have been no similar problems on Windows or Linux.\n**********")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user*

with openmp option

with the OpenMP option

@tdhock tdhock added the openmp label Oct 17, 2024
@tdhock tdhock mentioned this pull request Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants